package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 平台用户投诉协商记录
 */
@Getter
@Setter
@Document(collection = "platform_user_complaint_consult_record")
public class PlatformUserComplaintConsultRecord extends EntityBase {
    @Indexed
    private String platformUserComplaintId;
    private String content;
    /**
     * system:平台
     * visitor:用户
     */
    @Indexed
    private String createType;
    /**
     * 图片组
     */
    private List<String> imageUrls = new ArrayList<>();
    /**
     * 处理时间
     */
    private String operatorTime;
    /**
     * 是否发送短信
     */
    private Boolean sendSms = Boolean.FALSE;
    /**
     * 状态
     */
    @Transient
    private String status;
    /**
     * 是否已读
     */
    @Indexed
    private Boolean readedStatus = Boolean.FALSE;
    private Date readMsgTime;

}
